package com.china08.yxyapi.repository.db;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.china08.yxyapi.entity.db.lecture.YxyLectureFeedBack;

public interface YxyLectureFeedBackRepository
        extends JpaRepository<YxyLectureFeedBack, String> {

    long countByPrepackId(String prepackId);

    List<YxyLectureFeedBack> findByPrepackIdOrderByCreatedDateDesc(
            String prepackId);

    YxyLectureFeedBack findByPrepackId(String id);
}
